//
//  MSDetailFootprintCell.h
//  SocietySale
//
//  Created by Mike on 16/11/10.
//  Copyright © 2016年 Mike. All rights reserved.
//

typedef NS_ENUM(NSInteger,FootprintClickType) {
    FootprintClickType_Delete,
    FootprintClickType_Good,
    FootprintClickType_Bad,
    FootprintClickType_Image
};

#import <UIKit/UIKit.h>

@protocol MSDetailFootprintCellDelegate <NSObject>

- (void)footprintClick:(FootprintClickType)type clickCellIndex:(NSInteger)index;

@end

@interface MSDetailFootprintCell : UITableViewCell
@property (nonatomic, strong) MSFootprintModel *model;
@property (nonatomic, strong) UIView *headView;
@property (nonatomic, assign) id<MSDetailFootprintCellDelegate> delegate;
@property (nonatomic, assign) NSInteger cellIndex;
@property (nonatomic, strong) UIButton *badBtn;
@property (nonatomic, strong) UIButton *goodBtn;
+ (CGFloat)cellHeightWithModel:(MSProjectModel*)model;
@end
